package com.tx.springboot_demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author ：tx
 * @description：
 * @date ：Created in 2019/4/9 13:35
 * @modified By：
 * @version:
 */
@Controller
@RequestMapping("/thymeleafController")
public class ThymeleafController {

    @RequestMapping("/jumpToThymeleaf")
    public ModelAndView thymeleafIndex(){
        ModelAndView modelAndView = new ModelAndView("/html/index");
        return modelAndView;
    }
}
